package com.jiezheng.huinong.action;

import com.jiezheng.huinong.dao.PayManageDAOImpl;
import com.jiezheng.huinong.model.PayInfo;
import com.opensymphony.xwork2.ActionSupport;

public class PayManageAction extends ActionSupport{

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 3330813691301534589L;
	
	private PayInfo pay = new PayInfo();
	
	/**
	 * 增加文号
	 * 
	 * @return
	 */
	public String addPay() {
		(new PayManageDAOImpl()).addPay(pay);
		return SUCCESS;
	}

	public PayInfo getPay() {
		return pay;
	}

	public void setPay(PayInfo pay) {
		this.pay = pay;
	}
}
